<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <div id="app">
    <h3>名称{{ title }}</h3>
    <h3>班级名称{{class.name}}</h3>
    <h3>班级名称{{class.b}}</h3>
    <h3>班级名称1{{class.b}}</h3>
    <h3>班级名称2{{class.b}}</h3>
    <h3>老师{{teachers}}</h3>
    <h3>学生{{students[0]}}</h3>

    <div>title<input type="text" v-model="title"></div>
    <div>class.b的值：<input type="text" v-model="class.b"></div>
  </div>
  
</body>
</html>